package movee.config;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 *
 *
 * @author movee
 */
@Component
@ConfigurationProperties(prefix = "etcd")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EtcdProperties {

    private String endpoints;
    private String username;
    private String password;

    private String backupClusterNodesDir = "/backup/nodes/";
    private String backupClusterElection = "/backup/election";
}
